package com.ruoyi.common.constant;

/**
 * 部门、角色 常量信息
 */
public class RoleConstants {

    /**
     * 父部门ID：个人
     */
    public final static Long PARENT_ID_PERSON = 101L;

    /**
     * 父部门ID：企业
     */
    public final static Long PARENT_ID_COMPANY = 102L;

    /**
     * 个人部门ID序列
     */
    public final static String DEPT_ANCESTORS_PERSON = "0,100,101";

    /**
     * 企业部门ID序列
     */
    public final static String DEPT_ANCESTORS_COMPANY = "0,100,102";


    /**
     * “个人用户”角色ID
     */
    public final static Long ROLE_ID_PERSON = 2L;


    /**
     * “企业拥有者”角色ID
     */
    public final static Long ROLE_ID_COMPANY_Contro = 3L;

    /**
     * “企业管理员”角色ID
     */
    public final static Long ROLE_ID_COMPANY_ADMIN = 4L;

    /**
     * “企业检测员”角色ID
     */
    public final static Long ROLE_ID_COMPANY_TEST = 5L;

    /**
     * 系统默认角色类型
     */
    public final static String ROLE_NAME_SUPER_ADMIN = "云平台超级管理员";
    public final static String ROLE_NAME_PERSONAL = "个人用户";
    public final static String ROLE_NAME_COMPANY_ACCOUNT_OWNER = "企业账号拥有者";
    public final static String ROLE_NAME_COMAPNY_ADMIN = "企业系统管理员";
    public final static String ROLE_NAME_INSPECTOR = "检测员";


}
